package com.hzdp.web.action.account.ajax;

import com.hzdp.web.action.AjaxBaseAction;
import com.hzdp.web.action.account.AccountConstants;
import com.hzdp.web.util.CookieUtil;

public class AjaxLogoutAction extends AjaxBaseAction {

	@Override
	protected void executeJson() {
		CookieUtil.setRootCookie(request, response, AccountConstants.Token, null, 0);
	}

	@Override
	public int getType() {
		return type;
	}

	@Override
	public int getStatus() {
		return status;
	}

	@Override
	public String getMsg() {
		return msg;
	}

	@Override
	protected boolean checkParams() {
		return true;
	}

}
